<%@ page language="java" pageEncoding="UTF-8"%>
<div class="top_info_right">
<!-- 用户已登陆 -->
<logic:present name="loginUser" scope="session">
    欢迎光临网上书店：<bean:write name="loginUser" property="userName" />
	<html:link href="userAction.do?method=selfService">[我的帐户]</html:link>
	<html:link href="loginAction.do?method=logoff">[退出]</html:link>
</logic:present> 
<!-- 用户未登陆 -->
<logic:notPresent name="loginUser" scope="session">
	<html:link href="loginAction.do?method=forward">[登录]</html:link>
</logic:notPresent> 
<html:link href="userAction.do?method=register">[注册]</html:link></div>
